<?php

namespace App\Http\Controllers\Ding;

use App\User;
use Dingo\Api\Routing\Helpers;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class DingController extends Controller
{
    use Helpers;


    public function index()
    {

        $users = User::paginate(25);

        return $this->response->paginator($users, new UserTransformer);
    }
}
